package com.share.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * author:caifan
 * date:2019/9/20
 */
@Component
@ConfigurationProperties(prefix = "orange.property")
@Data
public class Orange {
    private String color;
    private double weight;
    private String shape;
}
